package com.jiai.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Configuration
@ComponentScan
@EnableAutoConfiguration
@EnableEurekaClient
@Controller
@EnableFeignClients
public class CloudWebApplication {
	@RequestMapping("")
	public  String home(){
		return "home";
	}
	public static void main(String[] args) {
		SpringApplication.run(CloudWebApplication.class, args);
	}
}
